package com.xnyzc.lhy.mis.mapper.cms.auditentry;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xnyzc.lhy.mis.entity.cms.auditentry.OaSysAuditEntry;
import com.xnyzc.lhy.mis.entity.result.cms.auditentry.AuditEntry;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 审核入驻表 Mapper 接口
 * </p>
 *
 * @author cuixiaojian
 * @since 2019-12-09
 */
public interface OaSysAuditEntryMapper extends BaseMapper<OaSysAuditEntry> {

    /**
     * 获取审核入驻列表
     * @param iPage
     * @return
     */
    IPage<AuditEntry> getAuditEntryList(IPage iPage,AuditEntry auditEntry);

    /**
     * 获取列表详情信息
     * @param auditId：主键ID
     * @return
     */
    AuditEntry getAuditEntryListDetails(@Param("auditId") String auditId);

    /**
     * 导出审核入驻信息
     * @return
     */

    List<AuditEntry> exportAuditEntryInfo(
       @Param("driverName") String driverName,
       @Param("status") String status,
       @Param("residentSerialNumber") String residentSerialNumber,
       @Param("driverPhone") String driverPhone,
       @Param("cityCode") String cityCode,
       @Param("cityCodes") List<String> cityCodes,
       @Param("sysUserName") String sysUserName
    );




}
